package com.jiyongjun.bms.base.configurer;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Service;

/**
 * description:
 *
 * @author yongjun.ji
 * @date 2019/3/15 15:02
 */
// @Service
public class CustomSysUserService /*implements UserDetailsService*/ {


    // @Override
    public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
        // SysUserVo sysUserVo = sysUserRepository.findByUsername(username);
        // if (sysUserVo == null) {
        //     throw new BizException("用户名不存在");
        // }
        // return sysUserVo;
        return null;
    }
}
